package com.szs.mapper;


import com.szs.pojo.Student;
import com.szs.pojo.StudentQueryParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentsMapper {
    List<Student> list(StudentQueryParam studentQueryParam);

    void insert(Student student);


    Student getById(Integer id);

    void updateStu(Student student);

    void delete(List<Integer> ids);

    void updateVio(Integer id, Integer score);
}
